<template>
    <div class="found">
        <div class="search">
            <p>
                <van-icon name="search" />
                <input type="text" placeholder="搜索">
                </input>
            </p>
            <span @click="goBack">取消</span>
        </div>

    </div>
</template>

<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const goBack = () => {
    router.go(-1)
}
</script>
<style scoped>
* {
    padding: 0px;
    margin: 0px;
}

.found {
    width: 100vw;
    height: 100vh;
    background-color: #f5f5f5;
}

.search {
    height:8vh;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    margin-top: 5px;
}

.search input {
    border: none;
    padding-left: 5px;
}

.search p {
    width: 300px;
    height: 28px;
    border: 1px solid #000;
    line-height: 28px;
    padding-left: 5px;
    border-radius: 5px;
    margin-top:5px;

}

.search span {
    margin-top:5px;
    height: 30px;
    line-height: 30px;
}
</style>